<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的任务</title>
<link href="${contextPath}/styles/default.css" rel="stylesheet" type="text/css" />
		<script src="${contextPath}/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
		<script src="${contextPath}/scripts/common.js" type="text/javascript"></script>
		<script src="${contextPath}/scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
		<script>
			function huiku(name,mark){
				 var form1 = document.form1;
				 document.getElementById("fName").value=name;
				 document.getElementById("markShop").value=mark;
				 form1.action = "/certificate/cs/ct/index.do";
				 form1.submit();
			}
		</script>
</head>
<body>
<div class="navigation">
	    <span>
	    <a href="javascript:window.history.forward();"><img src="${contextPath}/images/go_nav_btn.png" /></a>
	     <a href="javascript:window.history.forward();">前进</a>
	    <a href="javascript:window.location.reload();"><img src="${contextPath}/images/refresh_nav_btn.png" /></a>
	     <a href="javascript:window.location.reload();">刷新</a>
    </span>我的任务</div>
<div class="xt_main_right_center">
	<form name="form1" id="form1" method="post" action="index.do">
	<input type="hidden" value="" name="search.financial.name" id="fName"/>
	<input type="hidden" value="" name="markShop" id="markShop"/>
	  <table width="100%" border="0" >
	 
	    <tr>
	      <td align="center" valign="middle" class="down-center-td-width-bg" ><font color="#00CCFF" size="5">您有<font color="#FF0000" size="5"><s:property value="autm"/></font>个任务需要您处理</font></td>
	      </tr>
	  <s:if test="autm>0">
	  <s:if test="msg[5]==0">
	  	<s:if test="msg[0]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cm/release/index.do">
		      <font color="#66CCCC" size="3">当天释放数量<font color="#FF0000" size="5"><s:property value="msg[0]"/></font>台</font></a></td>
		    </tr>
	     </s:if>
	     <s:if test="msg[1]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cs/index.do">
		      <font color="#66CCCC" size="3">有<font color="#FF0000" size="5"><s:property value="msg[1]"/></font>个盘库需要您确认</font></a></td>
		    </tr>
	     </s:if>
	     <s:if test="msg[2]>0">
			    <tr>
			      <td align="center" valign="middle" class="down-center-td-width-bg" >
			      <a href="<s:property value='contextPath'/>/mf/core/index.do?status=2">
			      <font color="#66CCCC" size="3">您有<font color="#FF0000" size="5"><s:property value="msg[2]"/></font>个发票已开票（未实收）</font></a></td>
			    </tr>
	     </s:if>
	     </s:if>
	     <s:elseif test="msg[5]==1">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >&nbsp;</td>
		    </tr>
	     <s:if test="msg[0]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cs/index.do">
		      <font color="#66CCCC" size="3">您有<font color="#FF0000" size="5"><s:property value="msg[0]"/></font>家店还未盘库或未完成盘库</font></a></td>
		    </tr>
	     </s:if>
	     <s:if test="msg[1]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cs/index.do">
		      <font color="#66CCCC" size="3">您有<font color="#FF0000" size="5"><s:property value="msg[1]"/></font>个未开始的盘库</font></a></td>
		    </tr>
	     </s:if>
	     <s:if test="msg[2]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		       <a href="<s:property value='contextPath'/>/mf/core/index.do?status=2">
		      <font color="#66CCCC" size="3">您有<font color="#FF0000" size="5"><s:property value="msg[2]"/></font>个发票已开票（未实收/未完全实收）</font></a></td>
		    </tr>
	     </s:if>
	     <s:if test="msg[3]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		     <a href="<s:property value='contextPath'/>/cs/index.do">
		      <font color="#66CCCC" size="3">有<font color="#FF0000" size="5"><s:property value="msg[3]"/></font>个盘库需要您确认</font></a></td>
		    </tr>
	     </s:if>
	     <s:if test="msg[6]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cm/release/index.do">
		      <font color="#66CCCC" size="3">当天释放数量<font color="#FF0000" size="5"><s:property value="msg[6]"/></font>台</font></a></td>
		    </tr>
	     </s:if>
	    </s:elseif>
	    <s:elseif test="msg[5]==2">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >&nbsp;</td>
		    </tr>
	    <s:if test="msg[0]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		        <a href="<s:property value='contextPath'/>/cm/release/index.do">
		      <font color="#66CCCC" size="3">有<font color="#FF0000" size="5"><s:property value="msg[0]"/></font>个合格证需要您审批释放</font></a></td>
		    </tr>
	    </s:if>
	     <s:if test="msg[1]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/mf/core/index.do?status=2">
		      <font color="#66CCCC" size="3">您有<font color="#FF0000" size="5"><s:property value="msg[1]"/></font>个发票已开票（未实收）</font></a></td>
		    </tr>
	    </s:if>
	     <s:if test="msg[2]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cm/index.do">
		      <font color="#66CCCC" size="3">有<font color="#FF0000" size="5"><s:property value="msg[2]"/></font>个合格证补录需要您审核</font></a></td>
		    </tr>
	    </s:if>
	     <s:if test="msg[3]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cs/ct/index.do">
		      <font color="#66CCCC" size="3">有<font color="#FF0000" size="5"><s:property value="msg[3]"/></font>个二网申请需要您审核</font></a></td>
		    </tr>
	    </s:if>
	     <s:if test="msg[4]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		        <a href="<s:property value='contextPath'/>/workflow/index.do?status=1&type=1">
		      <font color="#66CCCC" size="3">有<font color="#FF0000" size="5"><s:property value="msg[4]"/></font>个合格证修改需要您审核</font></a></td>
		    </tr>
	    </s:if>
	     <s:if test="msg[6]>0">
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >
		      <a href="<s:property value='contextPath'/>/cm/release/index.do">
		      <font color="#66CCCC" size="3">当天释放数量<font color="#FF0000" size="5"><s:property value="msg[6]"/></font>台</font></a></td>
		    </tr>
	     </s:if>	    
	    </s:elseif>
		    <tr>
		      <td align="center" valign="middle" class="down-center-td-width-bg" >&nbsp;</td>
		    </tr>
	     </s:if>
	     <tr>
		     <td align="left" valign="middle" class="down-left-td-width-bg" >
		 		<table width="100%" border="0" >
		 			<tr>
		 			<th>
		 				<h2>二网还未回库的合格证</h2>
		 			</th>
		 		</tr>
			  <s:iterator value="objects" status="i" id="p">
			  	<tr>
			  	<td align="center" valign="middle" >
			  	<a href="javascript:huiku('<s:property value='financial.Name'/>','<s:property value='shop.shopMark'/>')">
			  	<font color="#00CCFF" size="3"><s:property value="shop.shopName"/>     <s:property value="financial.Name"/>  有<font color="#FF0000" size="5"><s:property value="cfCount"/></font>合格证还未回库</font>
			  	</a>
			  	</td>
			  	</tr>
			  </s:iterator>
		 		</table>     
		     </td>
		    </tr>
	    </table>
	  </form>
 </div>
 
<br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/>
<br/><br/><br/><br/><br/>
		<div><jsp:include page="/include/footer.inc"></jsp:include></div>
</body>
</html>